From: Stefan Monnier Date: Wed, 4 Nov 2009 04:33:25 +0000 (+0000) Subject: Load mh-loaddefs during compilation as well. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~9650 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8dda8d292c3766ec979a89092be4c1e05ebfa7cb;p=emacs.git Load mh-loaddefs during compilation as well. --- diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog index 0ad943588bd..f67ba5600b4 100644 --- a/lisp/mh-e/ChangeLog +++ b/lisp/mh-e/ChangeLog @@ -1,3 +1,7 @@ +2009-11-04 Stefan Monnier + + * mh-e.el: Load mh-loaddefs during compilation as well. + 2009-11-04 Juanma Barranquero * mh-e.el (mh-loaddefs): Load rather than require. diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index 7b7a9e5d9b5..916bbe29834 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el @@ -92,7 +92,10 @@ ;; Provide functions to the rest of MH-E. However, mh-e.el must not ;; use any definitions in files that require mh-e from mh-loaddefs, ;; for if it does it will introduce a require loop. -(load "mh-loaddefs" nil 'nomessage) +(eval-and-compile + ;; Load it during compilation as well, since it defines the macro + ;; mh-require-cl. + (load "mh-loaddefs" nil 'nomessage)) (mh-require-cl)